{template "header.html"}
<div class="note note-danger">
    <p><a href="javascript:dr_update_cache();">{dr_lang('更改数据之后需要更新缓存之后才能生效')}</a></p>
</div>
<form action="" class="form-horizontal" method="post" name="myform" id="myform">
	{$form}
	<div class="portlet bordered light ">
	    <div class="portlet-title tabbable-line">
	        <ul class="nav nav-tabs" style="float:left;">
	            <li class="{if $page==0}active{/if}">
	                <a href="#tab_0" data-toggle="tab" onclick="$('#dr_page').val('0')"> <i class="fa fa-cog"></i> {dr_lang($data['chuangyejin_name'].'设置')} </a>
	            </li>
	        </ul>
	    </div>
		<div class="portlet-body">
		        <div class="tab-content">
		            <div class="tab-pane {if $page==0}active{/if}" id="tab_0">
		                <div class="form-body">
							<div class="form-body">
								
								<div class="form-group">
								    <label class="col-md-2 control-label">{dr_lang('名称设置')}</label>
								    <div class="col-md-9">
								        <!--input type="checkbox" name="data[quan_baifen]" value="1" {if $data['quan_baifen']}checked{/if} data-on-text="{dr_lang('开启')}" data-off-text="{dr_lang('关闭')}" data-on-color="success" data-off-color="danger" class="make-switch" data-size="small"-->
										<input class="form-control input-xlarge" type="text" name="data[chuangyejin_name]" value="{$data['chuangyejin_name']}" >
										<span class="help-block">可自定义名称。默认为创业金。例如：“创业金”，“扶持金”</span>
								    </div>
								</div>
								<div class="form-group">
								    <label class="col-md-2 control-label">{dr_lang('单位')}</label>
								    <div class="col-md-9">
								        <!--input type="checkbox" name="data[quan_baifen]" value="1" {if $data['quan_baifen']}checked{/if} data-on-text="{dr_lang('开启')}" data-off-text="{dr_lang('关闭')}" data-on-color="success" data-off-color="danger" class="make-switch" data-size="small"-->
										<input class="form-control input-xlarge" type="text" name="data[chuangyejin_danwei]" value="{$data['chuangyejin_danwei']}" >
										<span class="help-block">可自定义名单位。默认为元。例如：“币”，“分”</span>
								    </div>
								</div>
							    
								<div class="form-group">
								    <label class="col-md-2 control-label">可兑换人民币</label>
								    <div class="col-md-9">
								        <div class="mt-radio-inline">
								            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[chuangyejin_duihuan]" value="0" {if $data['chuangyejin_duihuan']==0}checked{/if} /> {dr_lang('关闭')} <span></span></label>
								            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[chuangyejin_duihuan]" value="1" {if $data['chuangyejin_duihuan'] ==1}checked{/if} /> {dr_lang('开启兑换')} <span></span></label>
										</div>
								        <span class="help-block">{dr_lang('兑换开关。')}</span>
								    </div>
								</div>
								
								<div class="form-group">
								    <label class="col-md-2 control-label">{dr_lang('兑换值')}</label>
								    <div class="col-md-9">
								        <!--input type="checkbox" name="data[quan_baifen]" value="1" {if $data['quan_baifen']}checked{/if} data-on-text="{dr_lang('开启')}" data-off-text="{dr_lang('关闭')}" data-on-color="success" data-off-color="danger" class="make-switch" data-size="small"-->
										<input class="form-control input-xlarge" type="text" name="data[chuangyejin_zhi]" value="{$data['chuangyejin_zhi']}" >
										<span class="help-block">{$data['chuangyejin_zhi']} ：{$data['chuangyejin_name']} = 1 /元</span>
								    </div>
								</div>
								
								<div class="form-group">
								    <label class="col-md-2 control-label">开启展示申请结果</label>
								    <div class="col-md-9">
								        <div class="mt-radio-inline">
								            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[chuangyejin_jieguo]" value="0" {if $data['chuangyejin_jieguo']==0}checked{/if} /> {dr_lang('关闭')} <span></span></label>
								            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[chuangyejin_jieguo]" value="1" {if $data['chuangyejin_jieguo'] ==1}checked{/if} /> {dr_lang('开启')} <span></span></label>
										</div>
								        <span class="help-block">{dr_lang('开关。')}</span>
								    </div>
								</div>
								
								<div class="form-body">
									<div class="form-group">
										<label class="col-md-2 control-label">说明内容</label>
										<div class="col-md-9">
											<textarea class="form-control" rows="5" name="data[chuangyejin_shuoming]">{$data['chuangyejin_shuoming']}</textarea>
											<span class="help-block">说明内容</span>
										</div>
									</div>
								</div>
								
							</div>
		                </div>
		            </div>
		        </div>
		    </div>
		</div>
	<div>
	<div class="portlet bordered light ">
	    <div class="portlet-title tabbable-line">
	        <ul class="nav nav-tabs" style="float:left;">
	            <li class="{if $page==0}active{/if}">
	                <a href="#tab_0" data-toggle="tab" onclick="$('#dr_page').val('0')"> <i class="fa fa-cog"></i> {dr_lang('点赞设置')} </a>
	            </li>
	        </ul>
	    </div>
		<div class="portlet-body">
			<div class="tab-content">
				<div class="tab-pane {if $page==0}active{/if}" id="tab_0">
					<div class="form-body">
						<div class="form-body">
							<div class="form-group">
								<div class="col-md-6">
									<div class="col-md-12 control-label">
										<label class="col-md-2 control-label">点赞后奖励</label>
										<div class="col-md-4">
											<div class="mt-radio-inline" style="text-align: left;">
												<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[chuangyejin_dianzankaiguan]" value="0" {if $data['chuangyejin_dianzankaiguan']==0}checked{/if} /> {dr_lang('关闭')} <span></span></label>
												<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[chuangyejin_dianzankaiguan]" value="1" {if $data['chuangyejin_dianzankaiguan'] ==1}checked{/if} /> {dr_lang('开启奖励')} <span></span></label>
											</div>
											<span class="help-block" style="text-align: left;">{dr_lang('点赞后奖励开关。')}</span>
										</div>
									</div>
									<div class="col-md-12 control-label">
										<label class="col-md-2 control-label">{dr_lang('点赞后奖励多少')}</label>
										<div class="col-md-4">
											<!--input type="checkbox" name="data[quan_baifen]" value="1" {if $data['quan_baifen']}checked{/if} data-on-text="{dr_lang('开启')}" data-off-text="{dr_lang('关闭')}" data-on-color="success" data-off-color="danger" class="make-switch" data-size="small"-->
											<input class="form-control input-xlarge" type="text" name="data[chuangyejin_zanzhi]" value="{$data['chuangyejin_zanzhi']}" >
											<span class="help-block">点赞后的奖励值，必须是整数，不能为0.1 或者 0.01</span>
										</div>
									</div>
									<div class="col-md-12 control-label">
										<label class="col-md-2 control-label">{dr_lang('一天奖励次数')}</label>
										<div class="col-md-4">
											<!--input type="checkbox" name="data[quan_baifen]" value="1" {if $data['quan_baifen']}checked{/if} data-on-text="{dr_lang('开启')}" data-off-text="{dr_lang('关闭')}" data-on-color="success" data-off-color="danger" class="make-switch" data-size="small"-->
											<input class="form-control input-xlarge" type="text" name="data[chuangyejin_zancishu]" value="{$data['chuangyejin_zancishu']}" >
											<span class="help-block" style="text-align: left;">0为无限，一天奖励次数</span>
										</div>
									</div>
									
								</div>
								<div class="col-md-6">
									<div class="col-md-12 control-label">
										<label class="col-md-2 control-label">取消点赞后扣取奖励</label>
										<div class="col-md-4">
											<div class="mt-radio-inline" style="text-align: left;">
												<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[chuangyejin_qudianzankaiguan]" value="0" {if $data['chuangyejin_qudianzankaiguan']==0}checked{/if} /> {dr_lang('关闭')} <span></span></label>
												<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[chuangyejin_qudianzankaiguan]" value="1" {if $data['chuangyejin_qudianzankaiguan'] ==1}checked{/if} /> {dr_lang('开启扣取')} <span></span></label>
											</div>
											<span class="help-block" style="text-align: left;">{dr_lang('取消点赞后扣取奖励。')}</span>
										</div>
									</div>
									<div class="col-md-12 control-label">
										<label class="col-md-2 control-label">{dr_lang('取消点赞后扣取多少')}</label>
										<div class="col-md-4">
											<!--input type="checkbox" name="data[quan_baifen]" value="1" {if $data['quan_baifen']}checked{/if} data-on-text="{dr_lang('开启')}" data-off-text="{dr_lang('关闭')}" data-on-color="success" data-off-color="danger" class="make-switch" data-size="small"-->
											<input class="form-control input-xlarge" type="text" name="data[chuangyejin_quzanzhi]" value="{$data['chuangyejin_quzanzhi']}" >
											<span class="help-block">取消点赞后扣取多少，必须是整数，不能为0.1 或者 0.01</span>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		
	</div>
	<div class="portlet bordered light ">
	    <div class="portlet-title tabbable-line">
	        <ul class="nav nav-tabs" style="float:left;">
	            <li class="{if $page==0}active{/if}">
	                <a href="#tab_0" data-toggle="tab" onclick="$('#dr_page').val('0')"> <i class="fa fa-cog"></i> {dr_lang('收藏设置')} </a>
	            </li>
	        </ul>
	    </div>
		<div class="portlet-body">
			<div class="tab-content">
				<div class="tab-pane {if $page==0}active{/if}" id="tab_0">
					<div class="form-body">
						<div class="form-body">
							<div class="form-group">
								
								    <div class="col-md-6">
										<div class="col-md-12 control-label">
											<label class="col-md-2 control-label">收藏后奖励</label>
											<div class="col-md-4">
												<div class="mt-radio-inline" style="text-align: left;">
													<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[chuangyejin_shoucangkaiguan]" value="0" {if $data['chuangyejin_shoucangkaiguan']==0}checked{/if} /> {dr_lang('关闭')} <span></span></label>
													<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[chuangyejin_shoucangkaiguan]" value="1" {if $data['chuangyejin_shoucangkaiguan'] ==1}checked{/if} /> {dr_lang('开启奖励')} <span></span></label>
												</div>
												<span class="help-block" style="text-align: left;">{dr_lang('收藏后奖励开关。')}</span>
											</div>
										</div>
										<div class="col-md-12 control-label">
											<label class="col-md-2 control-label">{dr_lang('收藏后奖励多少')}</label>
											<div class="col-md-4">
												<!--input type="checkbox" name="data[quan_baifen]" value="1" {if $data['quan_baifen']}checked{/if} data-on-text="{dr_lang('开启')}" data-off-text="{dr_lang('关闭')}" data-on-color="success" data-off-color="danger" class="make-switch" data-size="small"-->
												<input class="form-control input-xlarge" type="text" name="data[chuangyejin_shoucangzhi]" value="{$data['chuangyejin_shoucangzhi']}" >
												<span class="help-block">收藏后的奖励值，必须是整数，不能为0.1 或者 0.01</span>
											</div>
										</div>
										<div class="col-md-12 control-label">
											<label class="col-md-2 control-label">{dr_lang('一天奖励次数')}</label>
											<div class="col-md-4">
												<!--input type="checkbox" name="data[quan_baifen]" value="1" {if $data['quan_baifen']}checked{/if} data-on-text="{dr_lang('开启')}" data-off-text="{dr_lang('关闭')}" data-on-color="success" data-off-color="danger" class="make-switch" data-size="small"-->
												<input class="form-control input-xlarge" type="text" name="data[chuangyejin_shoucangcishu]" value="{$data['chuangyejin_shoucangcishu']}" >
												<span class="help-block" style="text-align: left;">0为无限，一天奖励次数</span>
											</div>
										</div>
									</div>
									<div class="col-md-6">
										<div class="col-md-12 control-label">
											<label class="col-md-2 control-label">取消收藏后扣取奖励</label>
											<div class="col-md-4">
												<div class="mt-radio-inline" style="text-align: left;">
													<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[chuangyejin_qushoucangkaiguan]" value="0" {if $data['chuangyejin_qushoucangkaiguan']==0}checked{/if} /> {dr_lang('关闭')} <span></span></label>
													<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[chuangyejin_qushoucangkaiguan]" value="1" {if $data['chuangyejin_qushoucangkaiguan'] ==1}checked{/if} /> {dr_lang('开启扣取')} <span></span></label>
												</div>
												<span class="help-block" style="text-align: left;">{dr_lang('取消收藏后扣取奖励。')}</span>
											</div>
										</div>
										<div class="col-md-12 control-label">
											<label class="col-md-2 control-label">{dr_lang('取消收藏后扣取多少')}</label>
											<div class="col-md-4">
												<!--input type="checkbox" name="data[quan_baifen]" value="1" {if $data['quan_baifen']}checked{/if} data-on-text="{dr_lang('开启')}" data-off-text="{dr_lang('关闭')}" data-on-color="success" data-off-color="danger" class="make-switch" data-size="small"-->
												<input class="form-control input-xlarge" type="text" name="data[chuangyejin_qushoucangzhi]" value="{$data['chuangyejin_qushoucangzhi']}" >
												<span class="help-block">取消收藏后扣取多少，必须是整数，不能为0.1 或者 0.01</span>
											</div>
										</div>
									</div>
								</div>
								
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		
	</div>
	<div class="portlet bordered light ">
	    <div class="portlet-title tabbable-line">
	        <ul class="nav nav-tabs" style="float:left;">
	            <li class="{if $page==0}active{/if}">
	                <a href="#tab_0" data-toggle="tab" onclick="$('#dr_page').val('0')"> <i class="fa fa-cog"></i> {dr_lang('评论设置')} </a>
	            </li>
	        </ul>
	    </div>
		<div class="portlet-body">
			<div class="tab-content">
				<div class="tab-pane {if $page==0}active{/if}" id="tab_0">
					<div class="form-body">
						<div class="form-body">
							<div class="form-group">
								<div class="col-md-6 control-label">
									<div class="col-md-12 ">
										<label class="col-md-2 control-label">评论后奖励</label>
										<div class="col-md-4" style="text-align: left;">
											<div class="mt-radio-inline">
												<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[chuangyejin_pinglunkaiguan]" value="0" {if $data['chuangyejin_pinglunkaiguan']==0}checked{/if} /> {dr_lang('关闭')} <span></span></label>
												<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[chuangyejin_pinglunkaiguan]" value="1" {if $data['chuangyejin_pinglunkaiguan'] ==1}checked{/if} /> {dr_lang('开启奖励')} <span></span></label>
											</div>
											<span class="help-block" style="text-align: left;">{dr_lang('评论后奖励开关。')}</span>
										</div>
									</div>
									<div class="col-md-12 ">
										<label class="col-md-2 control-label">{dr_lang('评论后奖励多少')}</label>
										<div class="col-md-4">
											
											<input class="form-control input-xlarge" type="text" name="data[chuangyejin_pinglunzhi]" value="{$data['chuangyejin_pinglunzhi']}" >
											<span class="help-block">评论后的奖励值，必须是整数，不能为0.1 或者 0.01</span>
										</div>
									</div>
									<div class="col-md-12 ">
										<label class="col-md-2 control-label">{dr_lang('一天奖励次数')}</label>
										<div class="col-md-4">
											
											<input class="form-control input-xlarge" type="text" name="data[chuangyejin_pingluncishu]" value="{$data['chuangyejin_pingluncishu']}" >
											<span class="help-block">评论后的奖励值，必须是整数，不能为0.1 或者 0.01</span>
										</div>
									</div>
								</div>
								
								<!--label class="col-md-2 control-label">取消评论后扣取奖励</label>
								<div class="col-md-4">
									<div class="mt-radio-inline">
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[chuangyejin_qushoucangkaiguan]" value="0" {if $data['chuangyejin_qushoucangkaiguan']==0}checked{/if} /> {dr_lang('关闭')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[chuangyejin_qushoucangkaiguan]" value="1" {if $data['chuangyejin_qushoucangkaiguan'] ==1}checked{/if} /> {dr_lang('开启扣取')} <span></span></label>
									</div>
									<span class="help-block">{dr_lang('取消评论后扣取奖励。')}</span>
								</div-->
							</div>
							<div class="form-group">
								
								<!--label class="col-md-2 control-label">{dr_lang('取消评论后扣取多少')}</label>
								<div class="col-md-4">
									-
									<input class="form-control input-xlarge" type="text" name="data[chuangyejin_qushoucangzhi]" value="{$data['chuangyejin_qushoucangzhi']}" >
									<span class="help-block">取消评论后扣取多少，必须是整数，不能为0.1 或者 0.01</span>
								</div-->
							</div>
		
						</div>
					</div>
				</div>
			</div>
		</div>
		
	</div>
	<div>
	    <div class="portlet-body form myfooter">
	        <div class="form-actions text-center">
	            <button type="button" onclick="dr_ajax_submit('{dr_now_url()}', 'myform', '2000')" class="btn green"> <i class="fa fa-save"></i> {dr_lang('保存')}</button>
	        </div>
	    </div>
	</div>
</form>

{template "footer.html"}